package pl.edu.pb.wi.cookbook.entity;

import java.io.Serializable;

import javax.persistence.Id;

import com.googlecode.objectify.Key;

public class UserRecipePoints implements Serializable {
    private static final long serialVersionUID = -2068713739221586056L;

    @Id
    private Long id;
    private Key<User> user;
    private Key<Recipe> recipe;
    private Integer points;

    public UserRecipePoints() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Key<User> getUser() {
        return user;
    }

    public void setUser(Key<User> user) {
        this.user = user;
    }

    public Key<Recipe> getRecipe() {
        return recipe;
    }

    public void setRecipe(Key<Recipe> recipe) {
        this.recipe = recipe;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(int points) {
        this.points = points;
    }

}
